package top.zerocn.entity;

import java.io.Serializable;
import java.math.BigDecimal;

public class User implements Serializable {

	private static final long serialVersionUID = -2355654624994566722L;

	private String id;
	private String name;
	private String password;
	private String sex;
	private BigDecimal balance;

	public User(String id, String name, String password, String sex, BigDecimal balance) {
		super();
		this.id = id;
		this.name = name;
		this.password = password;
		this.sex = sex;
		this.balance = balance;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}
	
	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", password=" + password + ", sex=" + sex + ", balance=" + balance
				+ "]";
	}
}
